﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Soft
{
    /// <summary>
    /// 系统错误
    /// </summary>
    public static class SystemErrors
    {
       
        public const int NO_ERRORS = 0;

      
        public const int UNDEFINED_ERROR = -1;

      
        public static readonly ErrorMessage OtherError = new ErrorMessage(-1, "Undefined error.");

      
        public static readonly ErrorMessage TimedTaskHasRunning = new ErrorMessage(1, "The timed task is running. Please retry again later.");
    }
}
